package vip.hello520.model;

public enum ResultEnum {
    /**
     * 成功
     */
    SUCCESS("操作成功", 0),
    FAILURE("操作失败", 1);

    private String stateStr;
    private Integer stateInt;

    ResultEnum(String stateStr, Integer stateInt) {
        this.stateStr = stateStr;
        this.stateInt = stateInt;
    }

    public String getStateStr() {
        return stateStr;
    }

    public Integer getStateInt() {
        return stateInt;
    }
}
